package com.wechat.pay.contrib.apache.httpclient;

import java.io.IOException;

import org.apache.http.client.methods.CloseableHttpResponse;

public interface Validator {

    /**
     * 验证应答是否是微信平台发送;
     *
     * @param response 应答
     */
    boolean validate(CloseableHttpResponse response) throws IOException;
}
